package bean.factorybean;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/3/30 11:45 上午
 * @Version 1.0
 * @Description
 */
public class Person {

	private String name;

	private int age;

	public String getName() {
		return name;
	}

	public Person() {
	}

	public Person(String name, int age) {
		this.name = name;
		this.age = age;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "Person{" +
				"name='" + name + '\'' +
				", age=" + age +
				'}';
	}
}
